<?php
    $attributes = "";
    $removeNoDisplay = "";
    if ($add) {
        $attributes = 'style="display:none;" class="new_custom"';
    }else{
        $removeNoDisplay = 'style="display:none;"';
    }
?>
<tr <?php echo $attributes ?> >
    <td>
      <?php echo $custom_filters['caracteristica']->render() ?><?php echo $custom_filters['valor']->render() ?><?php echo $custom_filters['logico']->render() ?>
    </td>
    <td>
      <ul class="control" class="ui-widget ui-helper-clearfix">
        <li class="ui-state-default ui-corner-all add" title="Agregar" onclick="addCustom(this)"><span class="ui-icon ui-icon-plus"></span></li>
        <li class="ui-state-default ui-corner-all remove" <?php echo $removeNoDisplay ?> title="Eliminar" onclick="removeCustom(this)"><span class="ui-icon ui-icon-minus"></span></li>
      </ul>
    </td>
</tr>